x86: provide stub for memory_type_changed
authorWei Liu <wei.liu2@citrix.com>
Sun, 26 Aug 2018 12:19:38 +0000 (13:19 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 28 Aug 2018 09:49:02 +0000 (10:49 +0100)
commit0199416a2ce1fd84c964d06627f2209ac04afaa2
treed6c3adab8ec79e534b3497a09bf45c3e226b552d
parent3212e3464f336e0fd1270a88f65028833180709e
x86: provide stub for memory_type_changed

Jan indicated that for PV guests the memory type is not changed, for
HVM guests memory_type_changed is needed for EPT's effective memory
type calculation.  This means memory_type_changed is HVM only.

Provide a stub to minimise code churn.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/mtrr.h